package com.xjd.edu.conf;

//import com.alibaba.druid.spring.boot3.autoconfigure.DruidDataSourceWrapper;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceWrapper;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;

/**
 * `课程资源`
 *
 * @author wangyu
 * @date 2025/3/15 13:49
 */
public class EduSystemDataSourceConfiguration {

    @Bean(name = "systemDataSource", initMethod = "init")
    @ConfigurationProperties(prefix = "spring.datasource.druid.system")
    public DruidDataSourceWrapper courseDataSource() {
        return new DruidDataSourceWrapper();
    }

}
